<?php slot('sub', $sub); ?>
<?php slot('menu', $menu); ?>
<?php slot('user', $user); ?>

<link type="text/css" rel="stylesheet" href="/web/css/agent_page.css" />

<div class="agent_center">
    <div class="agent_page_container">
        <div class="header_agent_block"><span>Request to Agent</span></div>

        <div class="agetns_sort_block">
            <form action="<?php echo url_for('request', array('agent' => $agent_id)) ?>" method="POST">
                <table class="agent_form">
                    <?php echo $form ?>
                    <tr class="agent_form_buttons">
                        <td colspan="2">
                            <input type="submit" value="Send" id="send_agent_button"/>
                            <div id="cancel_agent_button"><a href="<?php echo url_for('agentpage', array('agent' => $agent_id)) ?>">Cancel</a></div>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>